//
//  JWShopMeCompleteMerchantEntryCVCell.m
//  
//
//  Created by iOS on 2018/4/13.
//

#import "JWShopMeCompleteMerchantEntryCVCell.h"

@implementation JWShopMeCompleteMerchantEntryCVCell

- (void)awakeFromNib {
    [super awakeFromNib];

}

-(void)setModel:(NSDictionary *)model{
    _model = model;
    [self.imageV sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@",model[@"menu_img"]]] placeholderImage:[UIImage imageNamed:@""]];
    
    self.titleLabel.text = model[@"menu_name"];
    
}
- (IBAction)deleteBtnAction:(UIButton *)sender {
    if(self.deleteBlock){
        self.deleteBlock(self.index);
    }
}

@end
